package storageclasses;


public class MedicalRecord {

	private String	division, data, doctor, nurse;

	int				id;

	public MedicalRecord(String doctor, String nurse, String division,
			String data) {
		this.data = "# " + data;
		this.division = division;
		this.nurse = nurse;
		this.doctor = doctor;

		id = Bank.inc();
	}

	public void changeData(String data) {
		data = "\t# " + data;
		this.data = this.data + "\n\n" + data;
	}

	public String getDoc() {
		return doctor;
	}

	public String getNurse() {
		return nurse;
	}

	public String getDivision() {
		return division;
	}

	public int getID() {
		return id;
	}
	
	public String getData(){ //finns bara där för testfallen, annars hade vi inte haft denna metod
		return data;
	}

}
